<extend name="Base/common"/>

<block name="body">
    <div id="page-wrapper">
        <div id="page-inner">

            <div class="row">
                <div class="col-md-12">
                    <h1 class="page-header">
                       退货单填写
                    </h1>
                </div>
            </div>

            <div class="panel-body panel panel-default">
                <div class="row">
                    <div class="col-lg-6">
                        <form role="form" method="post" action="{:U('submitReturnOrder',array('order_id'=>I('order_id')))}">
                            <div class="form-group">
                                <label>退货数量</label>
                                <input class="form-control" name="return_count">
                            </div>

                            <div class="form-group">
                                <label>退货原因</label>
                                <textarea class="form-control" rows="3" name="return_des"></textarea>
                            </div>

                            <button type="button" id="submitForm" class="btn btn-default">提交</button>
                            <button type="button" class="btn btn-default" onclick="javascript:history.back(-1);return false;">返回</button>
                        </form>
                    </div>
                    <!-- /.col-lg-6 (nested) -->
                </div>
                <!-- /.row (nested) -->
            </div>

        </div>
    </div>
</block>
